.PHONY:all
all: UdpServer UdpClient 

UdpServer:Main.cc
	g++ -o $@ $^ -std=c++11
UdpClient:UdpClient.cc 
	g++ -o $@ $^ -std=c++11 -lpthread
.PHONY:clean
clean:
	rm -rf UdpServer UdpClient